﻿namespace ThingsGateway.Foundation
{
    public class ReadWriteDevicesEx
    {
        /// <summary>
        /// 依赖项
        /// </summary>
        internal static readonly DependencyProperty ByteConverterProperty =
            DependencyProperty.Register("ByteConverter", typeof(IByteConverter), typeof(ReadWriteDevicesTcpClientBase), new ByteConverter(EndianType.Little, DataFormat.DCBA));
        /// <summary>
        /// 依赖项
        /// </summary>
        internal static readonly DependencyProperty TimeOutProperty =
            DependencyProperty.Register("TimeOut", typeof(ushort), typeof(ReadWriteDevicesTcpClientBase), (ushort)2000);
        /// <summary>
        /// 依赖项
        /// </summary>
        internal static readonly DependencyProperty ConnectTimeOutProperty =
            DependencyProperty.Register("ConnectTimeOut", typeof(ushort), typeof(ReadWriteDevicesTcpClientBase), (ushort)2000);
        /// <summary>
        /// 依赖项
        /// </summary>
        internal static readonly DependencyProperty WordLengthProperty =
            DependencyProperty.Register("WordLength", typeof(ushort), typeof(ReadWriteDevicesTcpClientBase), (ushort)1);


    }
}
